﻿<Window x:Class="Flux_Balance_Analysis.MetaboliteWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MetaboliteWindow" Width="360" Height="180" MinWidth="360" MinHeight="180" MaxHeight="180">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="100" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50" />
            <RowDefinition Height="*" />
            <RowDefinition Height="30" />
        </Grid.RowDefinitions>
        <GroupBox Header="Nome" Grid.ColumnSpan="3">
            <TextBox Name="txtName" Margin="3" />
        </GroupBox>
        <GroupBox Header="Informazioni Aggiuntive" Grid.Row="1" Grid.ColumnSpan="3">
            <CheckBox Name="chkIsExternal" Content="Sorgente o Destinazione" Margin="3"/>
        </GroupBox>
        <Button Name="cmdConfirm" Content="Conferma" Grid.Row="2" Grid.Column="2" Margin="3" Click="cmdConfirm_Click" />
        <Button Name="cmdCancel" Content="Annulla" Grid.Row="2" Margin="3" Click="cmdCancel_Click" />
        <Button Visibility="Collapsed" Name="cmdDelete" Grid.Row="2" Grid.Column="1" Width="75" Margin="3" HorizontalAlignment="Center" VerticalAlignment="Center" Click="cmdDelete_Click">
            <StackPanel Orientation="Horizontal" >
                <Image Source="Images\delete.png" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                <TextBlock Text="Elimina" HorizontalAlignment="Center" VerticalAlignment="Center"/>
            </StackPanel>
        </Button>
    </Grid>
</Window>
